package com.karry.yl.service.elder;


import com.karry.commons.base.SuperService;
import com.karry.yl.domain.elder.Elderly;
import com.karry.yl.domain.elder.Folk;

import java.util.List;

public interface ElderlyService extends SuperService<Elderly> {
    void save(Elderly elderly);
    /**
     *  查询某个老人的联系人
     * @return
     */
    List<Folk> selectFamilyList(Long elderlyId);

    void setOpenId(String openId,Long elderlyId);

    Long checkOpenId(String openId);

    /**
     * 绑定套餐，生成收费单
     * @param elderlyId
     * @param tcId
     * @param tcName
     */
    void bindMeal(Long elderlyId,Long tcId,String tcName,Long userId,String orgName);

    void mealXufei(Long elderlyId,Long userId,String orgName);

    void mealXufei(Long[] elderlyId,Long userId,String orgName);
}
